package newTest.test4;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;
//ConnectionMaker 는 원래 예제 클래스 name 은 SimpleConnectionMaker 이다 
public class ConnectionMaker {
	
	public Connection makeNewConnection() throws ClassNotFoundException,SQLException{
		Class.forName("oracle.jdbc.driver.OracleDriver");
		Connection c = DriverManager.getConnection("jdbc:oracle:thin:@127.0.0.1:1521:xe","ksuniry","73031523");
		return c;
	}

}
